home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / The Hacks! / COSEmulator / COSEmulator- SRC / headers / ApplicationEvents.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-21  |  509 b   |  24 lines  |  [TEXT/CWIE]

  1. #ifndef _ApplicationEvents_h_
  2. #define _ApplicationEvents_h_
  3.  
  4. #define    kAEMakeFrontAppEvent    0
  5. #define    kAEGoBackGroundEvent    1
  6. #define    kAEActivateEvent        2
  7. #define    kAEDeactivateEvent        3
  8. #define    kAEHideEvent            4
  9. #define    kAEMenuSelect            5 // see below
  10. #define    kAEProgramSpec            6
  11.  
  12. typedef struct AEMenuWhere
  13. {
  14.     uchar    which;        // this is type of menu, not location
  15.     uchar    num;        // how many menu things from the top it is
  16. };
  17.  
  18. /*
  19. kAEMenuSelect        -    uses type AEMenuWhere to pass info on where stuff was slected
  20.  
  21.  
  22. */
  23.  
  24. #endif